package MaintMenu.PoAnalysis;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;

// Referenced classes of package pk1:
//            BCAnalysis

public class Main {
    public static void main(String[]args){
        DateFormat formatter = new SimpleDateFormat("MM/dd/yyyy");
        
        Date today = new Date();
        Calendar cal = new GregorianCalendar();
        cal.setTime(today);
        String todaya = formatter.format(today);
        
        cal.add(Calendar.DAY_OF_MONTH, -2);
        Date prevdate = cal.getTime();
        String from = formatter.format(prevdate);
              
        //System.out.println(today);
        //System.out.println("");
        //System.out.println(today30);
//        System.out.println(todaya);
//        System.out.println(today7a);
        
//        System.out.println(today30a);
//        System.out.println(today60a);
//        System.out.println(today90a);


        String methCalled = "";


            String f = from;
            String t = todaya;
            System.out.println("from "+from);
            System.out.println("to "+todaya);
//            methCalled = "Bumper Cover";
//            //JOptionPane.showMessageDialog(this,methCalled);
//            System.out.println(methCalled);
//            BCAnalysis bcAnalysis = new BCAnalysis(f, t);
            methCalled = "Cooling";
            System.out.println(methCalled);
            CLAnalysis clAnalysis = new CLAnalysis(f, t);
//            methCalled = "Hood & Fender";
//            System.out.println(methCalled);
//            HFAnalysis hfAnalysis = new HFAnalysis(f, t);
//            methCalled = "Lighting";
//            System.out.println(methCalled);
//            LTAnalysis ltAnalysis = new LTAnalysis(f, t);
//            methCalled = "Mirror";
//            System.out.println(methCalled);
//            MRAnalysis mrAnalysis = new MRAnalysis(f, t);
//            methCalled = "Other";
//            System.out.println(methCalled);
//            OTAnalysis otAnalysis = new OTAnalysis(f, t);
//            System.out.println("");
//            methCalled = "... Completed";
//            System.out.println("");
//            System.out.println(methCalled);
//            System.out.println("Processing is complete successfully."+"All 6GC Completed based on :");
//            System.out.println("");
//            System.out.println("      Between DATE     "+prevdate + "     and    "+todaya);
//            System.out.println("");
            System.exit(0);
    }
}

